﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DAO;

namespace BUS
{
    public class PhieuGiao_BUS
    {
        PhieuGiao_DAO data = new PhieuGiao_DAO();
        public DataTable GetDanhSachKH()
        {
            return data.GetDanhSachKH();
        }
        public DataTable GetDanhSachNL()
        {
            return data.GetDanhSachNL();
        }
        public DataTable GetDanhSachTP()
        {
            return data.GetDanhSachTP();
        }
        public int proc_Ins_PhieuGiao(PhieuGiao_DTO dto)
        {
            return data.proc_Ins_PhieuGiao(dto);

        }
        public void proc_Ins_CT_PhieuGiaoNL(PhieuGiao_DTO dto)
        {
            data.proc_Ins_CT_PhieuGiaoNL(dto);

        }
        public void proc_Ins_CT_PhieuGiaoTP(PhieuGiao_DTO dto)
        {
            data.proc_Ins_CT_PhieuGiaoTP(dto);

        }
        public object GetDiaChiTheoMaKH(int MaKH)
        {
            return data.GetDiaChiTheoMaKH(MaKH);
        }
       
    }
}
